home *** CD-ROM | disk | FTP | other *** search
/ Mac Magazin/MacEasy 19 / Mac Magazin and MacEasy Magazine CD - Issue 19.iso / Online / Get Current Users (1.0.2a) / Read Me < prev   
Text File  |  1996-02-15  |  1KB  |  23 lines

  1. Get Current Users
  2. An AppleScript Scripting Addition that will tell you who is logged onto your Macintosh via File Sharing.
  3.  
  4. This osax is free for noncommercial use. Scott Lindsey maintains the copyright.
  5.  
  6. How did it come about?
  7. One day I needed a way for AppleScript to tell me who was logged into a machine via File Sharing. Although I could find many different Scripting Additions (osax) that performed networking tasks, none were available for what I needed. I posted a message on the MacScripting mailing list on the Internet, and within 48 hours, Scott Lindsey (wombat@claris.com) had written a new osax to fill this void.
  8.  
  9. I wrote a small sample script called “Logon Alert” which will continously check for any users logging on or off of your machine. When it detects this, it will open the "File Sharing Monitor" control panel if it isn’t already opened.
  10.  
  11. Greg Salter - gregs@chancery.com  (you should direct any problems to me)
  12.  
  13. Version History
  14. 1.0.0  - Initial build.
  15. 1.0.1  - Greg found a large memory leak.
  16. 1.0.2  - Scott added some environment checking.
  17. 1.0.2a - Greg and Scott modified Logon Alert so it sucks less CPU cycles.
  18.  
  19. ======================== The Syntax ========================
  20.  
  21. get current users: Get the names of users currently logged on to file sharing
  22.             get current users 
  23.     Result: list of string  -- list of users currently logged on